package com.ling.rocketmq.annotation;

import com.ling.rocketmq.configuration.RocketmqConsumerAutoConfiguration;
import com.ling.rocketmq.consumer.ConsumerProcessor;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import({ConsumerProcessor.class})
@ImportAutoConfiguration({RocketmqConsumerAutoConfiguration.class})
public @interface EnableRocketmqConsumer {

}
